<?php


namespace api\zmt\controller;


use app\model\NavModel;
use cmf\controller\RestBaseController;
use think\Request;

class NavController extends RestBaseController
{
    public function index(Request $request)
    {
        $res =NavModel::order('id','desc')
            ->select();
        $this->success('分组',$res);
    }

}